<%= error_messages_for :member %>
<% form_for :member, :url => {:controller => 'admin/members', :action => 'set_role', :id => @member} do |f| -%>
<fieldset>
<legend>Update role for <%= @member.login %></legend>
    <p><label for="role">Role *</label><br/>
    <%= select('member', 'role', ['guest', 'member', 'admin']) %></p>

    <p><%= submit_tag 'Save' %></p>
</fieldset>
<% end -%>

<div class="help">
	<h3>Help</h3>
	<p><strong>Guest</strong> : Account is created but not activated. A guest can access availability but not book a ressource.</p>
	<p><strong>Members</strong> : Full acces to all member permissions.</p>
	<p><strong>Admins</strong> : Can create and edit categories, create and edit posts that belong to a category, create and edit reservations and change role of users</p>
</div><!-- end of help -->